﻿{% extends "base.html" %}

{% block title %}Авторизация{% endblock %}

{% block header %}Авторизация{% endblock %}

{% block content %}

<form method="post" action="{{ 'registration.views.login'|url }}">
<table>
{% for field in form %}
<tr>
	<td>{{ field.label_tag() }}</td>
	<td>{{ field }}</td>
	{% if field.errors|length != 0 %}
		<td class="errors">{{ field.errors }}</td>
	{% endif %}
</tr>
{% endfor %}
</table>

<input type="submit" value="Войти!" />
<input type="hidden" name="next" value="{{ next }}" />
</form>

{% endblock %}
